/**
 * @file errorDef.h
 * @author lynxi
 * @brief
 * @version 1.0
 * @date 2024-04-16
 *
 * Copyright:
 * © 2024 北京灵汐科技有限公司 版权所有。
 * 注意：以下内容均为北京灵汐科技有限公司原创，未经本公司允许，不得转载，否则将视为侵权；对于不遵守此声明或者其他违法使用以下内容者，本公司依法保留追究权。
 * © 2024 Lynxi Technologies Co., Ltd. All rights reserved.
 * NOTICE: All information contained here is, and remains the property of Lynxi.
 *This file can not be copied or distributed without the permission of Lynxi
 *Technologies Co., Ltd.
 *
 *@brief definition of lynappzoo's error number
 */
#ifndef __ERROR_DEFINE__
#define __ERROR_DEFINE__

// sucess
#define LYNAPPZOO_SUCESS 0

// error
#define LYNAPPZOO_ERROR 1

// common error
#define LYNAPPZOO_COMMON_ERROR 100

// invalid param
#define LYNAPPZOO_INVALID_PARAM (LYNAPPZOO_COMMON_ERROR + 1)

// not init
#define LYNAPPZOO_NOT_INIT (LYNAPPZOO_COMMON_ERROR + 2)

// not start
#define LYNAPPZOO_NOT_START (LYNAPPZOO_COMMON_ERROR + 3)

// not find the device
#define LYNAPPZOO_NO_DEVICE (LYNAPPZOO_COMMON_ERROR + 4)

#define LYNAPPZOO_ERROR_CUSTOM 10000

#endif  // end __ERROR_DEFINE__
